package itsm.isperp.module.dto.configuration;

import itsm.isperp.module.entity.configuration.ConfCiRelationType;
import itsm.isperp.module.entity.configuration.ConfCiRelationUsePropety;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

import org.apache.commons.beanutils.BeanUtils;

/**
 * 
 * 
 * 
 * @author lizx
 * @date 2014-10-11
 * @since 1.0
 * 
 */
public class ConfCiRelationTypeDTO extends ConfCiRelationType {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3536090608949086202L;
	protected List<ConfCiRelationUsePropety> properties;

	public ConfCiRelationTypeDTO(ConfCiRelationType t)
			throws IllegalAccessException, InvocationTargetException {
		BeanUtils.copyProperties(this, t);
	}

	public List<ConfCiRelationUsePropety> getProperties() {
		return properties;
	}

	public void setProperties(List<ConfCiRelationUsePropety> properties) {
		this.properties = properties;
	}

}
